home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hplip / ui4 / systrayframe_base.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  2.8 KB  |  60 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. class Ui_Dialog(object):
  7.     
  8.     def setupUi(self, Dialog):
  9.         Dialog.setObjectName('Dialog')
  10.         Dialog.resize(QtCore.QSize(QtCore.QRect(0, 0, 500, 540).size()).expandedTo(Dialog.minimumSizeHint()))
  11.         self.gridlayout = QtGui.QGridLayout(Dialog)
  12.         self.gridlayout.setObjectName('gridlayout')
  13.         self.frame = QtGui.QFrame(Dialog)
  14.         self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
  15.         self.frame.setFrameShadow(QtGui.QFrame.Raised)
  16.         self.frame.setObjectName('frame')
  17.         self.gridlayout1 = QtGui.QGridLayout(self.frame)
  18.         self.gridlayout1.setObjectName('gridlayout1')
  19.         self.groupBox_2 = QtGui.QGroupBox(self.frame)
  20.         self.groupBox_2.setObjectName('groupBox_2')
  21.         self.gridlayout2 = QtGui.QGridLayout(self.groupBox_2)
  22.         self.gridlayout2.setObjectName('gridlayout2')
  23.         self.radioButton = QtGui.QRadioButton(self.groupBox_2)
  24.         self.radioButton.setObjectName('radioButton')
  25.         self.gridlayout2.addWidget(self.radioButton, 0, 0, 1, 1)
  26.         self.radioButton_2 = QtGui.QRadioButton(self.groupBox_2)
  27.         self.radioButton_2.setObjectName('radioButton_2')
  28.         self.gridlayout2.addWidget(self.radioButton_2, 1, 0, 1, 1)
  29.         self.radioButton_3 = QtGui.QRadioButton(self.groupBox_2)
  30.         self.radioButton_3.setObjectName('radioButton_3')
  31.         self.gridlayout2.addWidget(self.radioButton_3, 2, 0, 1, 1)
  32.         self.gridlayout1.addWidget(self.groupBox_2, 0, 0, 1, 1)
  33.         self.groupBox = QtGui.QGroupBox(self.frame)
  34.         self.groupBox.setCheckable(True)
  35.         self.groupBox.setObjectName('groupBox')
  36.         self.gridlayout3 = QtGui.QGridLayout(self.groupBox)
  37.         self.gridlayout3.setObjectName('gridlayout3')
  38.         self.label = QtGui.QLabel(self.groupBox)
  39.         self.label.setObjectName('label')
  40.         self.gridlayout3.addWidget(self.label, 0, 0, 1, 1)
  41.         self.listWidget = QtGui.QListWidget(self.groupBox)
  42.         self.listWidget.setObjectName('listWidget')
  43.         self.gridlayout3.addWidget(self.listWidget, 1, 0, 1, 1)
  44.         self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
  45.         self.gridlayout.addWidget(self.frame, 0, 0, 1, 1)
  46.         self.retranslateUi(Dialog)
  47.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  48.  
  49.     
  50.     def retranslateUi(self, Dialog):
  51.         Dialog.setWindowTitle(QtGui.QApplication.translate('Dialog', 'Dialog', None, QtGui.QApplication.UnicodeUTF8))
  52.         self.groupBox_2.setTitle(QtGui.QApplication.translate('Dialog', 'System tray icon visibility', None, QtGui.QApplication.UnicodeUTF8))
  53.         self.radioButton.setText(QtGui.QApplication.translate('Dialog', 'Always show', None, QtGui.QApplication.UnicodeUTF8))
  54.         self.radioButton_2.setText(QtGui.QApplication.translate('Dialog', 'Hide when inactive', None, QtGui.QApplication.UnicodeUTF8))
  55.         self.radioButton_3.setText(QtGui.QApplication.translate('Dialog', 'Always hide', None, QtGui.QApplication.UnicodeUTF8))
  56.         self.groupBox.setTitle(QtGui.QApplication.translate('Dialog', 'Monitor button presses on devices', None, QtGui.QApplication.UnicodeUTF8))
  57.         self.label.setText(QtGui.QApplication.translate('Dialog', 'Devices to Monitor:', None, QtGui.QApplication.UnicodeUTF8))
  58.  
  59.  
  60.